/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package infoplaces2;

import java.awt.image.RenderedImage;
import java.util.ArrayList;

/**
 *
 * @author Andre Alvarado
 */
public class EquirectangularPanoramicImage extends PanoramicImage {

//    EquirectangularPanoramicImage(image: RenderedImage)
//    fetch(x: double, y: double, z: double): RGBColor
//    fetch(azimuth: double, zenith: double): RGBColor

    public EquirectangularPanoramicImage(RenderedImage image) {
        super(makeImageArray(image));
    }

    private static ArrayList<RenderedImage> makeImageArray(RenderedImage image) {
        ArrayList<RenderedImage> result = new ArrayList<>();
        result.add(image);
        return result;
    }

    @Override
    public int fetch(double x, double y, double z) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int fetch(double azimuth, double zenith) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

}
